home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Know Your Baseball - The Greatest Player Resource
/
Know Your Baseball - Greatest Player.iso
/
Baseball
/
Director
/
KTGCST.CST
/
00044_Script_44
< prev
next >
Wrap
Text File
|
1998-09-21
|
1KB
|
64 lines
global gmusic,gsoundlevel,gb,defaultsnd,dlflag,gbuttonstate
on StartMovie
initPrompts
set gb = new(script "ButtonsObject")
cursor -1
repeat with x = 5 to 47
PuppetSprite x,1
end repeat
initrolloverkit
initButtonKit
if dlflag = 1 then
set dlflag = empty
setat(gbuttonstate,38,2)
set the blend of sprite 38 = 100
end if
set MyMovie = the movieName
set the itemDelimiter= "."
if item 1 of MyMovie = "ktgskil" then
set the blend of sprite 5 = 100
set the membernum of sprite 25 = the membernum of sprite 25+1
set the blend of sprite 25 = 100
setat(gbuttonState,25,2)
preLoadMember member 11, 16
end if
set mymovie = item 1 of mymovie
case mymovie of
"main","BTG","KTGskil":
set a = "coach"
"KTG_r_1","KTG_r_2","KTG_r_3":
set a = "coach"
"KTG_f_1","KTG_f_2","KTG_f_3":
set a = "coach"
otherwise
set a = "guide"
end case
set the itemDelimiter= ","
-- start bg sound
bgmusic
if defaultsnd > EMPTY then
LoadFirstSoundst(defaultsnd)
set defaultsnd = empty
else
LoadFirstSounds(a)
end if
set the ItemDelimiter to "."
set t = item 1 of the moviename
if t = "Teamply" then
Initteamaudio
exit
end if
end
on stopmovie
set the mouseUpScript = EMPTY
puppetsound 1,0
puppetsound 2,0
cursor 4
end